package com.lingkang.flychat.service;

import java.util.List;

public interface RedisService {
    /**
     * redis操作
     */
    public void set(String key, Object value, int seconds);
    public Object get(String key);
    public boolean delete(String key);
    //模糊查询
    List<Object> getByLike(String key);

    String getUsernameByToken(String token);
}
